<?php
namespace framework\core;
use \Smarty;
class Controller{
    protected $smarty;
    public function __construct()
    {
        $smarty=new Smarty();
        $smarty->setTemplateDir("./application/".MODULE."/view/tpls");
        $this->smarty=$smarty;
    }
    protected function jump($mess,$url,$wait=3){
        echo $mess;
        header("Refresh: $wait; url=$url");
        die;
    }
}